use crate::tools::common;
use log::{info};

#[tauri::command]
pub fn app_init_success(){
    let mut  v = common::APP_INIT_SUCCESS.lock().unwrap();
    *v = "YES".to_string();
    info!("set app_init YES.");
}
#[tauri::command]
pub fn get_app_init_success() -> String{
    common::APP_INIT_SUCCESS.lock().unwrap().clone()
}